package com.youth.youthservice.client;

import com.youth.commonutils.R;
import com.youth.youthservice.client.Impl.MsmDegrxadeFeignClient;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(name = "service-msm",fallback = MsmDegrxadeFeignClient.class)
public interface MsmClient {

    @ApiOperation(value = "发送短信的方法用于登录操作")
    @PostMapping("/edumsm/msm/sendSmsAnno/{phone}")
    R sendSmsAnno(@PathVariable String phone);

}
